<?php
require_once('Kbs/Model/Table/Abstract.php');

class Kbs_Model_Table_User extends Kbs_Model_Table_Abstract
{
    protected $_name = 'kbs_user';

    protected $_primaryKey = 'user_id';

    protected $_dependentTables = array('Kbs_Model_Table_User_Role');

    protected $_referenceMap = array(
        'PostAuthor' => array(
            'columns'           => array('user_id'),
            'refTableClass'     => 'Kbs_Model_Table_Post',
            'refColumns'        => array('post_author_id')
        )
    );
}